<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>考核详情</title>
		<link href="css/gl/khdetail.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src='dwr/engine.js'>
</script>
		<script type="text/javascript" src='dwr/util.js'>
</script>
		<script type="text/javascript" src="script/jquery/jquery-1.5.1.min.js">
</script>
		<script type="text/javascript" src='dwr/interface/ExamDwr.js'>
</script>
		<script type="text/javascript" src="script/util.js">
</script>
		<script type="text/javascript" src="script/gl/khdetail.js">
</script>
		<script type="text/javascript">
		var eid=${exam.id};
		var examstart=${examstart};
</script>
	</head>

	<body>
		<div id="page_all">
			<jsp:include page="title.jsp" flush="true">
				<jsp:param name="jspName" value="khModuleOpt" />
			</jsp:include>
			<div id="main">
				<div id="tgleft">
					<jsp:include page="khleft.jsp" flush="true">
						<jsp:param name="jspName" value="khlist" />
					</jsp:include>
				</div>
				<div id="tgmain">
				    <div id="fanhui">
				       <a href="gl/khgl.do?page=khlist&pageNo=1" style="">
				         <img alt="返回" src="img/gl/fanhui.jpg" style="margin:15px 0 0 20px;border: 0px;">
				       </a>
				    </div>
				    <div id="jpshow">
				       <table id="khinfo" cellpadding="0" cellspacing="0" style="margin:10px 0 0 180px;">
							<tr>
								<td class="ftd">
									考核名称：${exam.name}
								</td>
							</tr>
							<tr>
								<td class="ftd">
									起止日期：<fmt:formatDate value="${exam.starttime }"  pattern="yyyy年MM月dd日" type="date"/>--<fmt:formatDate value="${exam.endtime }"  pattern="yyyy年MM月dd日" type="date"/>
								</td>
							</tr>
							<tr>
								<td class="ftd">
									要求：${exam.len}分钟作答，不可重复提交
								</td>
							</tr>
							<tr>
								<td class="ftd">
									说明:&nbsp;1、考试设一等奖${exam.ad1key}名，获得${exam.ad1name}
								</td>
							</tr>
							<tr>
								<td class="ftd">
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、考试设二等奖${exam.ad2key}名，获得${exam.ad2name}
								</td>
							</tr>
							<tr>
								<td class="ftd">
								&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、考试设三等奖${exam.ad3key}名，获得${exam.ad3name}
								</td>
							</tr>
							<tr>
								<td class="ftd" id="maxandmin">
								共有${total}人参加本次考核，最高分${maxscore}分，最低分${minscore}分。
								</td>
							</tr>
						</table>
				    
				    </div>
					<table id="addnotice" cellpadding="0" cellspacing="0">
						<tr class="title">
							<td>
								序号
							</td>
							<td>
								用户名
							</td>
							<td>
								部门
							</td>
							<td>
								答题时间
							</td>
							<td>
								客观题得分
							</td>
							<td>
								主观题得分
							</td>
							<td>
								总分
							</td>
							<td>
								名次
							</td>
							<td>
								领奖状态
							</td>
							<td>
								编辑
							</td>
						</tr>
						<tbody id="ttbody">
                         </tbody>
					</table>

					<div id="pageinfo">
					</div>
					<div id="pager">
						<img id="fstPage" alt="首页" src="img/gl/13.jpg"
							class="button pager" style="margin-right: 5px;"
							onclick="ChangePage('fst')" />
						<img id="forePage" alt="上一页" src="img/gl/14.jpg"
							class="button pager" style="margin-right: 5px;"
							onclick="ChangePage('fore')" />
						<img id="nextPage" alt="下一页" src="img/gl/15.jpg"
							class="button pager" style="margin-right: 5px;"
							onclick="ChangePage('next')" />
						<div style="width: 100p;" class="pager" style="margin-right:5px;">
							转到
							<input id="gopage" style="width: 30px;" type="text" />
							页
						</div>
						<img alt="GO" src="img/gl/16.jpg" class="button pager"
							style="margin-right: 5px;" onclick="PageGo()" />
					</div>

				</div>
			</div>
			<div id="footer">
				<jsp:include page="footer.jsp" flush="true"></jsp:include>
			</div>
			<div id="large" style="position: absolute;">
            </div>
		</div>
		<div id="fullbg"></div>
		<div id="editpanel" class="opendiv">
			<div id="editbtm" class="opendivdom">
				<table id="editnotice" cellpadding="0" cellspacing="0">
					<tr>
							<td class="ftd1 wtitle">
								题目1:
							</td>
							<td class="wtitle" id="tt1">
								
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								答&nbsp;案:
							</td>
							<td class="wtitle">
								<textarea id="ans1" class="anws" readonly="readonly"></textarea>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								分&nbsp;值:
							</td>
							<td class="wtitle" valign="top">8分
							  <div class="defen" >得&nbsp;分：<input id="df1" type="text" style="width:50px;height:25px;"/>&nbsp;分</div>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle">
								题目2:
							</td>
							<td class="wtitle" id="tt2">
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								答&nbsp;案:
							</td>
							<td class="wtitle">
								<textarea id="ans2" class="anws" readonly="readonly"></textarea>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								分&nbsp;值:
							</td>
							<td class="wtitle" valign="top">8分
							  <div class="defen" >得&nbsp;分：<input id="df2" type="text" style="width:50px;height:25px;"/>&nbsp;分</div>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle">
								题目3:
							</td>
							<td class="wtitle" id="tt3">
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								答&nbsp;案:
							</td>
							<td class="wtitle">
								<textarea id="ans3" class="anws" readonly="readonly"></textarea>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								分&nbsp;值:
							</td>
							<td class="wtitle" valign="top">8分
							  <div class="defen" >得&nbsp;分：<input id="df3" type="text" style="width:50px;height:25px;"/>&nbsp;分</div>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle">
								题目4:
							</td>
							<td class="wtitle" id="tt4">
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								答&nbsp;案:
							</td>
							<td class="wtitle">
								<textarea id="ans4" class="anws" readonly="readonly"></textarea>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								分&nbsp;值:
							</td>
							<td class="wtitle" valign="top">8分
							  <div class="defen" >得&nbsp;分：<input id="df4" type="text" style="width:50px;height:25px;"/>&nbsp;分</div>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle">
								题目5:
							</td>
							<td class="wtitle" id="tt5"> 
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								答&nbsp;案:
							</td>
							<td class="wtitle">
								<textarea id="ans5" class="anws" readonly="readonly"></textarea>
							</td>
					</tr>
					<tr>
							<td class="ftd1 wtitle" valign="top">
								分&nbsp;值:
							</td>
							<td class="wtitle" valign="top">8分
							  <div class="defen" >得&nbsp;分：<input id="df5" type="text" style="width:50px;height:25px;"/>&nbsp;分</div>
							</td>
					</tr>
				</table>
				<div style="width:95%;margin:0 auto;text-align: center;padding-top:20px;border-top:dotted 1px #DBDBDB;margin-bottom:30px;">
				  <img alt="" style="cursor: pointer;" src="img/gl/17.jpg"
								onclick="GeiFen()" />
				  <img alt="" style="cursor: pointer; margin-left: 50px;"
								src="img/gl/18.jpg" onclick="CancelUp()" />
				</div>
			</div>
		</div>
	</body>
</html>
